<?php defined('_JEXEC') or die('Restricted access'); ?>
<?php

// Initialize variables
$db		=& JFactory::getDBO();
$user	=& JFactory::getUser();
$config	=& JFactory::getConfig();
$now	=& JFactory::getDate();

//Ordering allowed ?

$config 		= &JComponentHelper::getParams('com_yos_news_crawler');

JHTML::_('behavior.tooltip');
JHTML::_('behavior.mootools');
jimport('joomla.html.pane');
$pane=&JPane::getInstance('sliders',array('startOffset'=>0,'startTransition'=>0));	
?>
<form action="index.php?option=com_yos_news_crawler" method="post" name="adminForm">

<?php 
$abc=array_search('joomla',$this->data);
echo $pane->startPane( 'sub_pane' );
	for ($i=0;$i<count($this->data);$i++)
	{
		$row=$this->data[$i];
		echo $pane->startPanel( JText::_($row->name),$row->name );
			echo $row->form;
		echo $pane->endPanel();		
	}		
echo $pane->endPane();?>
<input type="hidden" name="option" value="com_yos_news_crawler" />
<input type="hidden" name="task" value="cmsmanager" />
<input type="hidden" name="boxchecked" value="0" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>
